API Documentation
Public Member Functions | List of all members
nkGraphics::RenderDescriptor Class Reference

Holds information about the configuration of rendering. More...

Public Member Functions

 RenderDescriptor ()
 
 ~RenderDescriptor ()
 
int getValue (RENDER_PROPS prop)
 
void setValue (RENDER_PROPS prop, int value)
 
nkMemory::StringView getAsString ()
 

Detailed Description

Holds information about the configuration of rendering.

The configuration API is quite young and holds only basic situations.

Constructor & Destructor Documentation

◆ RenderDescriptor()

nkGraphics::RenderDescriptor::RenderDescriptor ( )

Constructor.

◆ ~RenderDescriptor()

nkGraphics::RenderDescriptor::~RenderDescriptor ( )

Destructor.

Member Function Documentation

◆ getValue()

int nkGraphics::RenderDescriptor::getValue ( RENDER_PROPS  prop)
Parameters
propThe property to get the value from.
Returns
The value requested.

◆ setValue()

void nkGraphics::RenderDescriptor::setValue ( RENDER_PROPS  prop,
int  value 
)
Parameters
propThe property to set.
valueThe value to set.

◆ getAsString()

nkMemory::StringView nkGraphics::RenderDescriptor::getAsString ( )
Returns
The description pretty printed.

The documentation for this class was generated from the following file: